package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.mbc.rmt.data.DepartmentDataList;
import com.mbc.rmt.entities.Department;
import com.mbc.rmt.entities.DepartmentRpt;

public interface IAIMSDepartmentDAO {
	public void create(Department entity) throws SQLException;
	public void update(Department entity) throws SQLException;
	public void delete(long key)throws SQLException;
	public Department findByCode(String code,long branchId) throws SQLException;
	public DepartmentDataList findDepartments(Department cri)throws SQLException;
	public DepartmentDataList getDepartmentList(DepartmentRpt department) throws SQLException;
	ResultSet prepareDepartmentReport(DepartmentRpt department)throws SQLException;
	public Department getInfo(Department info) throws SQLException;
}
